package com.sgb.zhaocai.entity;

import com.contrarywind.interfaces.IPickerViewData;
import com.google.gson.annotations.SerializedName;
import com.sgb.link.entity.BrandEntity;

import java.io.Serializable;
import java.util.List;

/**
 * Time:2021/9/3
 * AUTHOR:F_Q
 * Description:
 */
public class PublishListBean  implements Serializable, IPickerViewData {
    @SerializedName(value = "name")
    private String name;
    @SerializedName(value = "no", alternate = {"comNo"})
    private String no;
    @SerializedName(value = "id")
    private String id;
    @SerializedName(value = "imAccount")
    private String imAccount;

    private boolean isSelected = false;

    public void setSelected(boolean selected) {
        isSelected = selected;
    }

    public boolean isSelected() {
        return isSelected;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getImAccount() {
        return imAccount;
    }

    public void setImAccount(String imAccount) {
        this.imAccount = imAccount;
    }

    @Override
    public String getPickerViewText() {
        return getName();
    }
}
